package com.azure.mapper.report;

import com.azure.entity.ACategoryDailyReport;
import com.azure.entity.ACategoryDailyReportExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ACategoryDailyReportMapper {
    int countByExample(ACategoryDailyReportExample example);

    int deleteByExample(ACategoryDailyReportExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ACategoryDailyReport record);

    int insertSelective(ACategoryDailyReport record);

    List<ACategoryDailyReport> selectByExample(ACategoryDailyReportExample example);

    ACategoryDailyReport selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ACategoryDailyReport record, @Param("example") ACategoryDailyReportExample example);

    int updateByExample(@Param("record") ACategoryDailyReport record, @Param("example") ACategoryDailyReportExample example);

    int updateByPrimaryKeySelective(ACategoryDailyReport record);

    int updateByPrimaryKey(ACategoryDailyReport record);

    @Select("select * from a_category_daily_report where date >= #{date}")
    List<ACategoryDailyReport> getDailyCategoryData(@Param("date")String date);

}